import java.util.Scanner;

public class Vigenere {
    protected static char[][] charMatrix=new char[26][26];
    protected static String str , key , ciphertext;
    public static Scanner scan = new Scanner(System.in);

    public static void main(String[] args)
    {
        String a  = "abc";
        byte[] b;
        b = a.getBytes();
        System.out.println(b);

//        str = scan.next();
//        key = scan.next();
//        ciphertext = vigenere(str,key);
    }

    public static  void initMatrix()
    {
        for(int i=0; i<26; i++)
        {
            int j=i;
            for(j=i; j<26; j++)
            {
                charMatrix[i][j-i] = (char)(j+65);
            }
            for(int k=26-i; k<26; k++)
            {
                charMatrix[i][k] = (char)(k+i-26+65);
            }
        }
        for(int i=0; i<26; i++)
        {
            for(int j=0; j<26; j++)
            {
                System.out.print(charMatrix[i][j]);
            }
            System.out.println();
        }
    }
    public static String vigenere(String str, String key)
    {
        initMatrix();
        ciphertext="";
        for(int i=0; i<str.length(); i++)
        {
            ciphertext += charMatrix[(int)str.charAt(i)-65][(int)key.charAt(i)-65];
        }
        System.out.println(ciphertext);
        return ciphertext;
    }


    public static void encryptDES(String str , String key)
    {

    }

    public static void decodeDES(String cypher)
    {

    }
}
